package com.jf.identity.entity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by x on 2018/4/14.
 */
public class Device implements Serializable {
    private static final long serialVersionUID = -5136544495264501299L;
    /**
     * monogoDB 主键
     */
    private String _id;
    private String uid;

    /**
     * 硬件序列号
     */
    @NotBlank(message = "硬件序列号不能为空")
    @Size(max = 100, message = "硬件序列号最大100字符")
    private String SBBH;

    /**
     * 设备名称
     */
    @NotBlank(message = "设备名称不能为空")
    @Size(max = 100, message = "设备名称最大100字符")
    private String SBMC;
    /**
     * 设备类型代码
     */
    @NotBlank(message = "设备类型代码不能为空")
    @Size(max = 3, message = "设备类型代码最大3字符")
    private String SBLXM;
    /**
     * 设备型号
     */
    @Size(max = 100, message = "设备型号最大100字符")
    private String SBXH;
    /**
     * 厂商代码
     */
    @NotBlank(message = "厂商代码不能为空")
    @Size(max = 100, message = "厂商代码最大100字符")
    private String SBCSDM;
    /**
     * 软件版本
     */
    @Size(max = 50, message = "软件版本最大50字符")
    private String SBRJBB;
    /**
     * 硬件版本
     */
    @Size(max = 50, message = "硬件版本最大50字符")
    private String SBYJBB;
    /**
     * 固件版本
     */
    @Size(max = 50, message = "固件版本最大50字符")
    private String SBGJBB;

    private ExamBaseParam examBaseParam;

    private Date timestamp;

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getSBBH() {
        return SBBH;
    }

    public void setSBBH(String SBBH) {
        this.SBBH = SBBH;
    }

    public String getSBMC() {
        return SBMC;
    }

    public void setSBMC(String SBMC) {
        this.SBMC = SBMC;
    }

    public String getSBLXM() {
        return SBLXM;
    }

    public void setSBLXM(String SBLXM) {
        this.SBLXM = SBLXM;
    }

    public String getSBXH() {
        return SBXH;
    }

    public void setSBXH(String SBXH) {
        this.SBXH = SBXH;
    }

    public String getSBCSDM() {
        return SBCSDM;
    }

    public void setSBCSDM(String SBCSDM) {
        this.SBCSDM = SBCSDM;
    }

    public String getSBRJBB() {
        return SBRJBB;
    }

    public void setSBRJBB(String SBRJBB) {
        this.SBRJBB = SBRJBB;
    }

    public String getSBYJBB() {
        return SBYJBB;
    }

    public void setSBYJBB(String SBYJBB) {
        this.SBYJBB = SBYJBB;
    }

    public String getSBGJBB() {
        return SBGJBB;
    }

    public void setSBGJBB(String SBGJBB) {
        this.SBGJBB = SBGJBB;
    }

    public ExamBaseParam getExamBaseParam() {
        return examBaseParam;
    }

    public void setExamBaseParam(ExamBaseParam examBaseParam) {
        this.examBaseParam = examBaseParam;
    }

    public Date getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Date timestamp) {
        this.timestamp = timestamp;
    }
}
